package com.zzgele.qmzb.api.service;

import com.cnc.cloudv.bean.channel.requestBean.ChannelForbiddenRequestBean;
import com.cnc.cloudv.bean.channel.requestBean.ChannelReBrodcastRequestBean;
import com.cnc.cloudv.bean.channel.requestBean.CreateChannelRequestBean;
import com.cnc.cloudv.bean.channel.requestBean.GetChannelConfigureRequestBean;
import com.cnc.cloudv.bean.common.ResponseBean;
import com.zzgele.qmzb.api.core.Service;
import com.zzgele.qmzb.api.model.Room;
import com.zzgele.qmzb.api.model.User;

import java.util.HashMap;
import java.util.List;
import java.util.Map;


/**
 * Created by Martin on 2017/07/28.
 */
public interface RoomService extends Service<Room> {
    List<HashMap> getListByDistance(Map<String, Object> map);

    //主播总收益
    int getTotalTicket(Long roomId);


    int getTheLivingTicket(Long uid, Integer startTime);

    //全平台直播数
    int getLivingCount();

    int getTotalDiamond(Long login_uid, Long anchor_uid);

    HashMap getMyInfo(Long login_uid);

    Integer closeLivingRoom(String cid, String status);

    List<HashMap> getOfficialList();

    ResponseBean createChannel(CreateChannelRequestBean requestBean1);

    ResponseBean getChannelConfigure(GetChannelConfigureRequestBean requestBean);

    ResponseBean channelForbidden(ChannelForbiddenRequestBean bean);

    ResponseBean channelReBrodcast(ChannelReBrodcastRequestBean bean);

    List<HashMap> getLists(Map<String ,Object> map);

    Room insertData(User user, Long login_uid, String room_title, Integer room_type_id, Integer province_id, Integer city_id, Double lng, Double lat, String uuid,String room_type,Long roomId);
}